<?php

namespace App\Baqi\Alimns;

use Illuminate\Support\ServiceProvider;
use App\Baqi\Alimns\AliMnsMsg;

class AliMnsServiceProvider extends ServiceProvider
{
    /**
     * 服务提供者加是否延迟加载.
     *
     * @var bool
     */
    protected $defer = true;

    public function boot() {

    }
    /**
     * Add the connector to the queue drivers.
     *
     * @return void
     */
    public function register() {
        $this->registerCommand();
    }

    /**
     * Register the MNS queue command
     */
    private function registerCommand() {
        $this->app->bind('AliMns',function(){  
            return new AliMns();  
        });
    }
}
